#ifndef MYERRORS_HH_
# define MYERRORS_HH_

# include <iostream>
# include <string>

class MyErrors
{
public:
  MyErrors ()
  {
    err_ = 0;
  }
  MyErrors (int init)
  {
    err_ = init;
  }
  MyErrors (std::string init)
  {
    err_str_ = init;
  }
  ~MyErrors ()
  {}

  void set_err (int);
  int get_err ();

  void open_error_print ();
  void read_error_print ();
  void parse_error_print ();
  void pos_not_empty_error_print ();
  void init_error_print ();
  void get_rand_case_error_print ();


private:
  std::string err_str_;
  int err_;
};



#endif /*! MYERRORS_HH_ */
